﻿using Entity.Models.dto;
using Entity.Models.Entities;
using Entity.Models.vo;
using System;
using System.Collections.Generic;
using System.Text;

namespace IBLL
{
    /// <summary>
    /// 工作流实例BLL接口
    /// </summary>
    public interface IWorkFlow_InstanceBLL
    {

        /// <summary>
        /// 工作流实例数据列表、搜索
        /// </summary>
        /// <param name="WorkFlow_InstanceName">工作流实例名称</param>
        /// <param name="page">页数</param>
        /// <param name="limit">数据条数</param>
        /// <returns></returns>
        public List<WorkFlow_InstanceDTO> getworkFlow_InstanceList(string WorkFlow_InstanceName, string page, string limit, out int cont);

        /// <summary>
        /// 添加工作流实例
        /// </summary>
        /// <param name="workFlow_Instance"></param>
        /// <returns></returns>
        bool AddWorkFlow_Instance(WorkFlow_Instance workFlow_Instance);

        /// <summary>
        /// 作废工作流实例
        /// </summary>
        /// <param name="workFlow_InstanceId"></param>
        /// <returns></returns>
        bool DalateWorkFlow_Instance(string workFlow_InstanceId);

    }
}
